package feng.demo.entity;

import java.util.Date;

public class Remark {
    private Integer remid;
    private User user;
    private Commodity commodity;
    private Integer rate;
    private String content;
    private Date remdate;
    private User cus;

    public Remark() {
        this.user=new User();
        this.commodity=new Commodity();
        this.remdate=new Date();
        this.cus=new User();
    }

    public User getCus() {
        return cus;
    }

    public void setCus(User cus) {
        this.cus = cus;
    }

    public Integer getRemid() {
        return remid;
    }

    public void setRemid(Integer remid) {
        this.remid = remid;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Commodity getCommodity() {
        return commodity;
    }

    public void setCommodity(Commodity commodity) {
        this.commodity = commodity;
    }

    public Integer getRate() {
        return rate;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getRemdate() {
        return remdate;
    }

    public void setRemdate(Date remdate) {
        this.remdate = remdate;
    }

    @Override
    public String toString() {
        return "Remark{" +
                "remid=" + remid +
                ", user=" + user +
                ", commodity=" + commodity +
                ", rate=" + rate +
                ", content='" + content + '\'' +
                ", remdate=" + remdate +
                ", cus=" + cus +
                '}';
    }
}
